GetTrackID
TheGetTrackID
function allows your application to determine a track's unique track ID value. This ID value remains unique throughout the life of the movie.
pascal long GetTrackID (Track theTrack);
theTrack
- Specifies the track for this operation. Your application obtains this track identifier from such Movie Toolbox functions as
NewMovieTrack
andGetMovieTrack
(described on page 2-136 and page 2-188, respectively).DESCRIPTION
TheGetTrackID
function returns the track's ID value. If the function could not determine the ID value, it sets this returned value to 0.ERROR CODES
invalidTrack -2009 This track is corrupted or invalid